package com.ddwl.schema.vo.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.Instant;
import java.util.List;

/**
 * 类CreateSeckillBo.java的实现描述：创建秒杀入参
 * @author wenbin
 */
@Data
@ApiModel("创建秒杀活动入参")
public class SeckillVo {


    @ApiModelProperty("秒杀活动Id")
    private String id;

    @ApiModelProperty("秒杀活动名称")
    private String seckillName;

    @ApiModelProperty(value = "开始时间")
    private Instant startTime;

    @ApiModelProperty(value = "结束时间")
    private Instant endTime;

    @ApiModelProperty(value = "是否启用,0否 1是")
    private Integer isEffect;

    @ApiModelProperty(value = "是否参与分销 0否 1是")
    private Integer isDist;

    @ApiModelProperty("创建时间")
    private Instant gmtCreated;

    @ApiModelProperty("修改时间")
    private Instant gmtModified;

    @ApiModelProperty("秒杀商品")
    private List<SeckillItemVo> seckillItems;

    @ApiModelProperty("随机码")
    private String token;


}

